package Messages;


/**
 * This message is explicitly used the acceptors to send to learners. 
 * Once acceptors accept the message, this message will be used to send to learners such that PAxos algorithm will 
 * decide on a value.
 * 
 * ACCEPTORS -> LEARNERS
 * 
 */
public class AcceptMessage {
	int acceptedProposalNumber;
	int acceptedLockValue;

	public int getAcceptedProposalNumber() {
		return acceptedProposalNumber;
	}
	public void setAcceptedProposalNumber(int acceptedProposalNumber) {
		this.acceptedProposalNumber = acceptedProposalNumber;
	}
	public int getAcceptedLockValue() {
		return acceptedLockValue;
	}
	public void setAcceptedLockValue(int acceptedLockValue) {
		this.acceptedLockValue = acceptedLockValue;
	}
	
}
